MPHB\Upgrader B

Total Complexity 88
Dependencies 14
Dependents 1
Total lines 924
Lines of code 487
Logical lines of code 247
Comment lines 170
Methods 45
Properties 7

Methods 45

Method Rating Maintainability Complexity Lines of code
fixGlobalRule()
S
51 7 26
fixForV2_0_0()
S
48 4 35
fixForV2_2_0()
S
48 4 34
fixForV4_2_0()
S
49 4 31
checkVersion()
S
62 5 11
upgrade()
S
54 4 21
addIndexesToSyncTablesSince_4_0_0()
S
59 4 13
updateDBVersion()
S
62 4 12
addBookingCancellationPage()
S
55 3 20
addMyAccountPage()
S
55 3 20
fixForV2_3_0()
S
58 3 16
getProgress()
S
59 3 14
createTableCustomers()
S
51 1 30
fixSessionOptions()
S
59 2 13
forceUpgrade()
S
62 2 12
createTableApiKeys()
S
57 1 18
fixForV1_1_0()
S
64 2 10
showUpgradeNotice()
S
74 2 5
setScheduledVersion()
S
69 2 7
getCurrentDBVersion()
S
74 2 4
changeOptionName()
S
68 2 7
improveStats()
S
62 1 12
__construct()
S
62 1 11
moveSyncUrls()
S
63 1 11
fixForV3_0_2()
S
62 1 11
removeOutdatedStripeOptions()
S
70 1 7
getScheduledVersion()
S
79 1 3
getQueueSize()
S
80 1 3
setTotalQueueSize()
S
80 1 3
getTotalQueueSize()
S
79 1 3
upgradeAfterImport()
S
82 1 3
resetDBVersion()
S
81 1 3
blockNewBookings()
S
80 1 3
addDBVersionToHistory()
S
73 1 5
flushRewriteRules()
S
77 1 4
fixCleanOldRules()
S
68 1 8
startAutodeleteOfSyncLogs()
S
82 1 3
fixForV3_0_0()
S
72 1 6
alterTableSyncLogs()
S
68 1 7
fixForV3_2_0()
S
73 1 5
stopSynchronization()
S
91 1 2
markImported()
S
82 1 3
createUploadsDir()
S
77 1 4
hideUpgradeNotice()
S
82 1 3
complete()
S
73 1 5